import request from '@/utils/request'
// 分类列表数据
export const cateList = params => {
  return request({
    method: 'get',
    url: '/categories',
    params
  })
}
// 添加分类
export const addCate = data => {
  return request({
    method: 'post',
    url: '/categories',
    data
  })
}
